package com.jk.api;

import com.jk.po.SharingPO;
import com.jk.po.TravelAreaPO;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@RequestMapping("HomePage")
@ResponseBody
public interface HomePageApi {
    /**
    * @Author  王宇超
    * @method  querySharing
    * @description 查看欢乐游玩
    * @Date 20:21 2021/6/30
    * @Param  * @param
    * @return java.util.List<com.jk.po.SharingPO>
    **/
    @GetMapping("queryHappyPlay")
    List<TravelAreaPO> queryHappyPlay();

    /**
    * @Author 景晨璇
    * @method queryHomeById
    * @description 描述一下方法的作用
    * @Date 20:05 2021/7/4
    * @Param  * @param TravelAreaPO
    * @return
    **/
    @PostMapping("queryHomeById/{id}")
    TravelAreaPO queryHomeById(@PathVariable("id") Integer id);

    @PostMapping("queryYuYueById/{id}")
    TravelAreaPO queryYuYueById(@PathVariable("id") Integer id);
}
